package ${conf.base_package}.${conf.service_package};
<#assign beanName = table.beanName/>
import ${conf.resp_package}.${beanName}Resp;
import ${conf.req_package}.${beanName}ListReq;
import ${conf.req_package}.${beanName}AddReq;
import ${conf.req_package}.${beanName}UpdateReq;
import com.gateon.hw.base.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;


/**
* ${table.tableDesc} I${beanName}Service接口
* Created by ${conf.code_author} on ${.now}
*/
public interface  I${beanName}Service{
    /**
    * 列表显示方法
    * @param req
    * @return
    */
    Result<IPage<${beanName}Resp>> list (${beanName}ListReq req);

    /**
    *  根据id 查找唯一实体类
    * @param id
    * @return
    */
    Result<${beanName}Resp> detail (Long id);

    /**
    * 新增方法
    * @param req
    * @return
    */
    Result insert(${beanName}AddReq req);

    /**
    *  更新方法
    * @param req
    * @return
    */
    Result update (${beanName}UpdateReq req);

    /**
    * 删除
    * @param id
    * @return
    */
    Result delete (Long id);
}